#include "positionsform.h"
#include "ui_positionsform.h"
#include <QPainter>
#include <QStyleOption>

PositionsForm::PositionsForm(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::PositionsForm)
{
    ui->setupUi(this);
}

PositionsForm::~PositionsForm()
{
    delete ui;
}

void PositionsForm::paintEvent(QPaintEvent *event)
{
    QStyleOption opt;
    opt.init(this);
    QPainter painter(this);
    style()->drawPrimitive(QStyle::PE_Widget,&opt,&painter,this);
    QWidget::paintEvent(event);
}
